package sw.mylife;

import java.util.List;

import sw.mylife.db.Category;
import sw.mylife.system.Skillbook;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.widget.TextView;

public class GuiSkillbook extends Activity {

	TextView btn_cat1, btn_cat2, btn_cat3, btn_cat4;
	
	//Activity Standard Attribute
	private final Gui myGui = Gui.getMygui();
	private final Skillbook sb = Skillbook.getMySB();
	private static final String LOGTAG = "Gui: Skillbook";
	
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_skillbook);
        
        
        //Layout Links
        btn_cat1 = (TextView) findViewById(R.id.sb_txt_cat1);
        btn_cat2 = (TextView) findViewById(R.id.sb_txt_cat2);
        btn_cat3 = (TextView) findViewById(R.id.sb_txt_cat3);
        btn_cat4 = (TextView) findViewById(R.id.sb_txt_cat4);
       
        //TODO Kategorienamen laden
        String[] names = sb.getCatNameList();
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_skillbook, menu);
        return true;
    }
}
